package com.woniu.his.bms.common;


import com.woniu.his.result.ResultCode;

public enum BmsResultCode implements ResultCode {

    SETTLEMENT_CAT_IS_EXIST(300, "结算类别已存在"),
    SETTLEMENT_CAT_NOT_EXIST(301, "结算类别不存在"),
    SETTLEMENT_RECORD_NOT_EXIST(302, "日结记录不存在"),
    NOT_FUND_LATEST_INVOICE(302, "日结记录不存在"),
    BILL_NOT_EXISTS(3002,"账单不存在"),
    BILL_STATUS_EXCEPTION(3002,"账单不存在"),
    PAY_DEFEAT(3003,"支付失败")

    ;

    private int code;
    private String message;

    private BmsResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
